<template>
  <div>
    <h2>slot-comp</h2>
    <slot name="default" :a="1" />
    <div class="box">
      <div class="right">
        <slot name="right" :b="2" />
      </div>
      <div class="left">
        <slot name="left" :c="true" :d="{x:3,y:4,z:'true'}" />
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style>
.box{
display: flex;
justify-content: space-between;
}
</style>
